package com.yun.util.clickHouse.base;

import org.json.JSONObject;

import java.util.List;

public interface ClickIDao<P, T extends BaseEntity> {

    void save(T entity);

    void batchSave(List<T> list);

    void deleteById(String id);

    List<T> find(String sql);

    void update(T entity);
    
    List<JSONObject> exeSql(String sql);

}
